<style lang="sass">
    @import "../../style/config.scss";
    .gw-open{
        .form{
            width:100%; max-width:20rem; margin:0 auto; padding:1.5rem 0;
        }
        input {width:100%;}
    }

</style>

<template>
    <section class="gw-open">
        <div class="gw-center">
            <div class="hm-flex">
                <div class="dir">
                    <li class="active">开户注册</li>
                </div>
                <div class="hm-flex-1 content">
                    <div class="hm-border hm-radius">
                       <div class="form">
                            <el-form :model="form" :rules="rules" ref="form" label-width="100px">
                                <el-form-item label="真实姓名" prop="name">
                                    <el-input v-model="form.name"></el-input>
                                </el-form-item>
                            </el-form>
                       </div>
                    </div>
                </div>
            </div>
        </div>        
    </section>
</template>

<script>
export default {
    data(){
        return {
            form: {
                name: '',
            },
            rules: {
                name: [
                    { required: true, message: '请输入活动名称', trigger: 'blur' },
                    { min: 3, max: 5, message: '长度在 3 到 5 个字符', trigger: 'blur' }
                ],
            },
        }
    },
    computed: {

    },
    components : {

    },
    methods : {

    },
    mounted(){

    }
}
</script>
